package com.woniuxy.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@AllArgsConstructor
@Data
public class Student {
    private Integer sid;
    private String sname;
    private Integer age;
    //多对：学生选修的课程
    private List<Course> courses;
}
